package cn.dxl.turbine;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

@SpringBootApplication
@EnableHystrixDashboard
@EnableDiscoveryClient//让注册中心能够发现到该服务
@EnableEurekaClient //EurekaClient 客户端
@EnableTurbine
public class TbApplication {

    //监控地址
    //http://localhost:8071/turbine.stream
    public static void main(String[] args) {
        SpringApplication.run(TbApplication.class,args);
    }
}
